#ifndef _ITEMDATA_H_
#define _ITEMDATA_H_


#include "gameDefine.h"



#pragma pack (1)


struct ItemData 
{
	string			Name;
	string			Explain1;
	string			Explain2;

	fint32			UseType;
	fint32			SuitEquip;
	fint32			Drop;
	fint32			AutoResume;

	fint32			Quaint;

	fint32			ID;
	fint32			Img;
	fint32			Px;
	fint32			Py;
	fint32			Sell;
	fint32			Type;
	fint32			Stage;
	fint32			Range;
	fint32			Level;
	fint32			Num;
	fint32			AlchemyAttr;

	fint32			Suit;
	fint32			Perdure1;
	fint32			Perdure2;
	fint32			Increase;
	fint32			Decrease;
	fint32			Code;
	fint32			AttackNum1;
	fint32			AttackNum2;
	fint32			Str1;
	fint32			Str2;
	fint32			Tgh1;
	fint32			Tgh2;
	fint32			Dex1;
	fint32			Dex2;
	fint32			Hp1;
	fint32			Hp2;
	fint32			Mp1;
	fint32			Mp2;
	fint32			Luck1;
	fint32			Luck2;
	fint32			Charm1;
	fint32			Charm2;
	fint32			Dodge1;
	fint32			Dodge2;
	fint32			AttrType;
	fint32			Attr;

	fint32			Magic;
	fint32			Rare;
	fint32			Mp;
	fint32			Ward;
	fint32			AttackRank;
	fint32			Weight;

	fint32			Poison1;
	fint32			Poison2;
	fint32			Paralysis1;
	fint32			Paralysis2;
	fint32			Sleep1;
	fint32			Sleep2;
	fint32			Stone1;
	fint32			Stone2;
	fint32			Drunk1;
	fint32			Drunk2;
	fint32			Confusion1;
	fint32			Confusion2;

	fint32			Critical1;
	fint32			Critical2;

	fint32			Trade;
	fint32			Lose;
	fint32			DropLose;
	fint32			Logout;
	fint32			Save;

	fint32			Store;
	fint32			Alchemy;

	fint32			Material[ MAX_MATERIAL ];
	fint32			MaterialNum[ MAX_MATERIAL ];
};

#pragma pack ()


typedef map< fint32 , ItemData > ItemDataMap;
typedef map< fint32 , ItemData >::iterator ItemDataMapIter;



#endif


